#include "UserSurface.h"

BOOL CALLBACK _tWinMain(HINSTANCE hInstance, HINSTANCE hPreInstance, LPTSTR szCmdLine, int nShowCmd)
{
	HANDLE hMutex = CreateMutex(NULL, FALSE, _T("4282671B-AB3C-4625-8E2F-6652090B4F2C"));
	if (NULL != hMutex && ERROR_ALREADY_EXISTS == GetLastError())
	{		
		CloseHandle(hMutex);
		hMutex	= NULL;
	} else {
		CUserSurface UserSurface;
		UserSurface.Run();
	}

	return TRUE;
}